import request from "../utils/request";

// 我的-->常见问答-->常见问题
export const getCommonQuestion = (params) => {
  let url = "/api/v1/company/company-faq";
  return request.get(url, { params });
};

// 我的-->常见问答-->更多问题列表
export const getMoreQuestionList = (params) => {
  let url = "/api/v1/company/company-faq-list";
  return request.get(url, { params });
};

// 我的-->常见问答-->问题详情
export const getQuestionDetail = (params) => {
  let url = "/api/v1/company/company-faq-info";
  return request.get(url, { params });
};

// 我的-->附件简历-->投递简历移除
export const removeResume = (params) => {
  let url = "/api/v1/company/company-resume-remove";
  return request.post(url, params);
};

// 我的-->附件简历-->新增简历
export const addResume = (params) => {
  let url = "/api/v1/company/company-resume-add";
  return request.post(url, params);
};

// 我的-->附件简历-->简历列表
export const getResumeList = (params) => {
  let url = "/api/v1/company/company-resume-list";
  return request.post(url, params);
};

// 我的-->附件简历-->简历移除
export const removeResumeList = (params) => {
  let url = "/api/v1/company/company-resume-remove";
  return request.post(url, params);
};

// 我的-->已投简历-->已投递公司简历删除
export const removeCompanyResume = (params) => {
  let url = "/api/v1/company/delivery-company-resume-delete";
  return request.post(url, params);
};

// 我的-->已投简历-->简历投递
export const addCompanyResume = (params) => {
  let url = "/api/v1/company/company-resume-post";
  return request.post(url, params);
};

// 我的-->已投简历-->已投递简历
export const getCompanyResumeList = (params) => {
  let url = "/api/v1/company/company-resume-post-list";
  return request.post(url, params);
};

// 我的-->我的收藏-->岗位收藏-->新增岗位收藏
export const addJobsCollection = (params) => {
  let url = "/api/v1/company/company-work-fav-add";
  return request.post(url, params);
};

// 我的-->我的收藏-->岗位收藏-->移除岗位收藏
export const removeJobsCollection = (params) => {
  let url = "/api/v1/company/company-work-fav-remove";
  return request.post(url, params);
};

// 我的-->我的收藏-->岗位收藏-->岗位收藏列表
export const getJobsCollectionList = (params) => {
  let url = "/api/v1/company/company-work-fav-list";
  return request.post(url, params);
};

// 我的-->我的收藏-->公司收藏-->新增公司收藏
export const addCompanyCollection = (params) => {
  let url = "/api/v1/company/company-fav-add";
  return request.post(url, params);
};

// 我的-->我的收藏-->公司收藏-->移除公司收藏
export const removeCompanyCollection = (params) => {
  let url = "/api/v1/company/company-fav-remove";
  return request.post(url, params);
};

// 我的-->我的收藏-->公司收藏-->公司收藏列表
export const getCompanyCollectionList = (params) => {
  let url = "/api/v1/company/company-fav-list";
  return request.post(url, params);
};
